package com.operate.api.app.message.domain.po;

import com.operate.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import javax.persistence.*;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "app_user_message")
public class AppMessagePO extends BaseEntity {

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 消息标题
     */
    @Column(name = "msg_title")
    private String msgTitle;

    /**
     * 消息内容
     */
    @Column(name = "msg_desc")
    private String msgDesc;

    /**
     * 消息类型（1协议修订 2 充值通知）
     */
    @Column(name = "msg_type")
    private Integer msgType;

    /**
     * 关联ID
     */
    @Column(name = "relation_id")
    private String relationId;


}